import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.siki.dao.UserMapper;
import com.siki.pojo.model.DepartmentInformation;
import com.siki.pojo.model.User;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.UUID;
import java.util.concurrent.Callable;

public class testController {
    @Autowired
    private UserMapper userMapper;

    @Test
    public void sts(){
        PageHelper.startPage(0,5);
        List<User> users = userMapper.selectList(null);
        PageInfo<User> pageInfo = new PageInfo(users,5);
        System.out.println(pageInfo);
    }
}
